Make GtkViewport use GtkPixelCache
authorAlexander Larsson <alexl@redhat.com>
Sat, 20 Apr 2013 23:54:05 +0000 (01:54 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 7 May 2013 14:34:05 +0000 (16:34 +0200)
commit2df27ce7f801da92e64ed966d96c47e3f5d190e7
tree410d8fd53e8aaaa7a97d7e3caed47abb2eaf6fb4
parentdde714386de730058981c87c807c83c05b5dc7be
Make GtkViewport use GtkPixelCache

Since gdk_window_move() no longer uses XCopyArea all scrolling
now re-renders everything in the window. To get performance
back we use a GtkPixelCache to store already drawn children,
and we when we expose the viewport we just blit the
offscreen to the right place.
gtk/gtkviewport.c